cmake_minimum_required(VERSION 2.7)
#set (CMAKE_C_COMPILER "/usr/bin/gcc")
#set (CMAKE_CXX_COMPILER "/usr/bin/g++")

set(PROJECT_NAME mTaskTest) 
project(${PROJECT_NAME})

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)



include_directories(".")
include_directories("./main")
include_directories("./transport")
include_directories("./mTask")

aux_source_directory(.              DIR_SRCS)
aux_source_directory(./main         DIR_SRCS)
aux_source_directory(./transport    DIR_SRCS)
aux_source_directory(./mTask    DIR_SRCS)

add_executable(${PROJECT_NAME}
#  main.cpp
  ${DIR_SRCS}
)
target_link_libraries (${PROJECT_NAME}  pthread)
#target_link_libraries (mTaskTest libQt5Core.so)
